package com.woniuxy.carlife.carlifeplatformweb.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: ManagerAccount
 *@Description: 管理员账号表
 * @author: huangxinyan     
 * @date: 2021-04-05
 */

@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_manager_account")
@ApiModel(value="ManagerAccount对象", description="管理员账号表")
public class ManagerAccount implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "管理员id")
        @TableId(value = "manager_account_id", type = IdType.AUTO)
      private Integer managerAccountId;

      @ApiModelProperty(value = "账户名")
      private String managerAccountName;

      @ApiModelProperty(value = "账户密码")
      private String managerAccountPassword;

      @ApiModelProperty(value = "盐")
      private String managerAccountSalt;

      @ApiModelProperty(value = "账号状态")
      private Integer managerAccountStatus;

      @ApiModelProperty(value = "上次登录时间")
      private Date managerAccountLogin;

      @ApiModelProperty(value = "上次下线时间")
      private Date managerAccountLogout;

      @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
      private Date gmtCreate;

      @ApiModelProperty(value = "修改时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date gmtModified;


}
